﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Pibby.Core.Views
{
	public interface ISubscriptionListView : IGenericView
	{
		#region Persistence events

		//event EventHandler LoadPodcasts;
		event EventHandler<FilePersistenceEventArgs> ImportPodcasts;
		event EventHandler<FilePersistenceEventArgs> ExportPodcasts;

		#endregion

		#region Subscription management events

		event EventHandler<NewPodcastEventArgs> AddPodcast;
		event EventHandler<RemovePodcastEventArgs> RemovePodcast;

		#endregion Subscription management events

		#region Interaction events

		event EventHandler<PodcastEventArgs> SelectPodcast;
		event EventHandler<RenamePodcastEventArgs> RenamePodcast;
		event EventHandler<PodcastEventArgs> ShowPodcastBackCatalog;

		#endregion Interaction events

		#region Commands

		void ShowPodcasts(PodcastCollection podcasts);
		void RefreshPodcasts(PodcastCollection podcasts);
		void ShowPodcastInfo(Podcast podcast);

		void ReportError(string message);

		#endregion
	}
}
